<?php
namespace app\index\controller;

use app\common\controller\Common;
use org\Page;
use think\facade\Config;

class Top extends Common
{
    protected function initialize()
    {
        parent::initialize(); //
    }


    public function top ($classify = '') {

        $this->assign("current_classify",$classify);

        if (empty($classify))
        {
            $this->site_seo('top');
            return $this->fetch("top");
        }else {
            $this->site_seo('top');
            return $this->fetch("top_classify");
        }
    }
}
